package study.rpc.dubbo.provider.service.protocol;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import study.rpc.dubbo.api.Request;
import study.rpc.dubbo.api.Response;
import study.rpc.dubbo.api.protocol.HttpService;

@Slf4j
@Service("httpService")
public class HttpServiceImpl implements HttpService {

    @Override
    public Response echo(Request request) {
        log.info(">>>>>> {}", request);
        return new Response();
    }
}
